Add MetEngine smart money analytics#15
Open
vrajdesai78 wants to merge 3 commits intoPolymarket:mainfrom
Open
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Marketing article showcasing MetEngine's 27 CLI subcommands in the context of a quantitative trading workflow. Covers edge discovery, Kelly position sizing, smart money validation, and wallet analytics. All CLI commands verified against actual clap definitions. Fixed: - whale-trades --timeframe 48h -> 7d (valid enum values) - wallet-profile --include-positions -> --include-positions true (ArgAction::Set) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
trades, wallet analytics) powered by x402 pay-per-request on Solana Mainnet
(resolves via Gamma SDK)
paid endpoints)
Note
Medium Risk
Adds a new paid network integration that signs Solana transactions/requests for x402 payment authentication and pulls in a large set of Solana/x402 dependencies, which could affect build size/compatibility and request/payment flows.
Overview
Adds MetEngine smart money analytics to the CLI. Introduces a new
metenginecommand group with many subcommands for market discovery, intelligence/trades, and wallet analytics, including support for resolving inputs as condition IDs, Polymarket URLs, or slugs.Implements x402-backed HTTP clients for MetEngine. Adds
FreeClient(unauthenticated health/pricing) andPaidClientthat uses Solana keypair/RPC plusx402-reqwestmiddleware to automatically handle HTTP 402 payment challenges.Updates dependencies and lockfile to include
reqwest/reqwest-middleware,x402-*, andsolana-*crates, loosensalloyto>=1.6.3,<1.7, and expands docs with MetEngine setup/usage plus a newdocs/smart-wallet-kelly-ev.mdarticle.Written by Cursor Bugbot for commit 1762405. This will update automatically on new commits. Configure here.